home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994…tember: Reference Library / Dev.CD Sep 94.toast / Periodicals / develop / develop Issue 6 / develop 6 code / TCP / NewsWatcher / NewsWatcher 2.0d15 source / source / glob.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-08-16  |  2.0 KB  |  54 lines  |  [TEXT/KAHL]

  1. /*----------------------------------------------------------------------------
  2.  
  3.     glob.c
  4.  
  5.     This file contains declarations for all the global variables.
  6.     
  7.     Portions copyright © 1990, Apple Computer.
  8.     Portions copyright © 1993, Northwestern University.
  9.  
  10. ----------------------------------------------------------------------------*/
  11.  
  12. #include "glob.h"
  13. #include "menus.h"
  14.  
  15. short        gNumGroups = 0;                /* number of newsgroups */
  16. TGroup        **gGroupArray = nil;        /* handle to full group array */
  17. Handle        gGroupNames = nil;            /* handle to group name strings */
  18. WindowPtr    gFullGroupWindow = nil;        /* pointer to full group list window */
  19. Boolean        gMustDoZoomOnShowFullGroupList;
  20.                                         /* true if full group list needs zooming */
  21.  
  22. TPrefRec     gPrefs;                        /* preferences */
  23.  
  24. Boolean        gDone = false;                /* flag set true upon program termination */
  25. Boolean     gCancel = false;            /* flag set when user cancels an action */
  26.  
  27. Handle        gLifeBoat;                    /* lifeboat memory -- de-allocated when 
  28.                                            memory gets low */
  29. Boolean        gSinking = true;            /* flag set after lifeboat has been 
  30.                                            jettisoned */
  31. Boolean     gOutOfMemory = false;        /* flag set when out of memory - and luck */
  32.  
  33. Boolean        gInBackground = false;        /* background/foreground flag */
  34. Rect        gDesktopExtent;                /* desktop extent */
  35.  
  36. Cursor        gIBeamCurs;                    /* ibeam cursor */
  37. Boolean        gHasColorQD;                /* true if we have color QuickDraw */
  38. Rect        gWindLimits;                /* window grow limits */
  39.  
  40. CStr255        gAutoFetchHost;                /* autofetch host */
  41. CStr255        gAutoFetchName;                /* autofetch username */
  42. char        gAutoFetchPass[32];            /* autofetch password */
  43. char        gAutoFetchPath[32];            /* autofetch path */
  44.  
  45. Rect        gDragRect;                    /* drag limit rectangle */
  46.  
  47. Boolean        gStartingUp = true;            /* true during initialization */
  48. Boolean        gStartupOK;                    /* true if no errors during startup */
  49.  
  50. Boolean        gFullGroupListDirty = false;    /* true if full group list dirty */
  51.  
  52. FSSpec         gPrefsFile;                    /* preferences file location */
  53. FSSpec         gFilterFile;                /* filter file location */
  54.